package yunhe.entity;

import java.sql.Date;

public class StockTransfer {
	private int stockTransId;
	private Storage originStorage;
	private Storage goalStorage;
	private Product product;
	private int stockTransgerQuantity;
	private Date transDate;
	private EmpMsg empMsg;
	private String transReason;

	public int getTransSta() {
		return transSta;
	}

	public void setTransSta(int transSta) {
		this.transSta = transSta;
	}

	private int transSta;
	
	public StockTransfer() {
		
	}
	public StockTransfer(int stockTransId, Storage originStorage,
			Storage goalStorage, Product product, int stockTransgerQuantity,
			Date transDate, EmpMsg empMsg, String transReason) {
		this.stockTransId = stockTransId;
		this.originStorage = originStorage;
		this.goalStorage = goalStorage;
		this.product = product;
		this.stockTransgerQuantity = stockTransgerQuantity;
		this.transDate = transDate;
		this.empMsg = empMsg;
		this.transReason = transReason;
	}
	public int getStockTransId() {
		return stockTransId;
	}
	public void setStockTransId(int stockTransId) {
		this.stockTransId = stockTransId;
	}
	public Storage getOriginStorage() {
		return originStorage;
	}
	public void setOriginStorage(Storage originStorage) {
		this.originStorage = originStorage;
	}
	public Storage getGoalStorage() {
		return goalStorage;
	}
	public void setGoalStorage(Storage goalStorage) {
		this.goalStorage = goalStorage;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public int getStockTransgerQuantity() {
		return stockTransgerQuantity;
	}
	public void setStockTransgerQuantity(int stockTransgerQuantity) {
		this.stockTransgerQuantity = stockTransgerQuantity;
	}
	public Date getTransDate() {
		return transDate;
	}
	public void setTransDate(Date transDate) {
		this.transDate = transDate;
	}
	public EmpMsg getEmpMsg() {
		return empMsg;
	}
	public void setEmpMsg(EmpMsg empMsg) {
		this.empMsg = empMsg;
	}
	public String getTransReason() {
		return transReason;
	}
	public void setTransReason(String transReason) {
		this.transReason = transReason;
	}
	
}
